<?php

namespace AdminModule\Models;

/**
 * Description of TileType
 *
 * @author David
 */
class TileType extends \Nette\Database\Table\Selection {
    public function __construct(\Nette\Database\Connection $connection) {
        parent::__construct('tile_types', $connection);
    }
    
    public function getSelectOptions() {
        return $this->fetchPairs('id_tile_type', 'title');
    }
}
